<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>模块的具名导入和导出</title>
</head>
<body>
    <script type="module">
        // 名字必须和导出的名字一样
        import {title,show,User} from './211.js';
        console.log(title);
        console.log(show());
        console.log(User.render());
    </script>
</body>
</html>